﻿<?php
echo '<html>
   <head>
      <title>Game of Stones</title>
      <link rel="stylesheet" href="css/default.css" />
	  <link rel="stylesheet" href="css/newstyle.css" />
	  <link rel="shortcut icon" href="images/icon.ico" />
	  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   </head>
   <body>
   <img src="images/header.png" align="center" vspace="40">';
   

	
			
error_reporting(E_ALL ^ E_DEPRECATED);
		$verbindung = mysql_connect("localhost","web462","!?mqlpw?!")
         or die ("keine Verbindung möglich. Benutzername oder Passwort sind falsch");
         mysql_select_db("usr_web462_2")
         or die ("Die Datenbank existiert nicht.");
		 mysql_query("SET NAMES 'utf8'");
		if(isset($_GET['p']) && $_GET["p"]){ 
		   $t = $_GET["p"]; 
		} 
		else{ 
		   $t = "home"; 
		} 


echo '<ul class="tabs">
        <li>
          <input type="radio" checked name="tabs" id="tab1">
          <label for="tab1">Info</label>
          <div id="tab-content1" class="tab-content animated fadeIn">
			<div class="cont">';
			include("home.php"); 
          echo '</div></div>
        </li>
        <li>
          <input type="radio" name="tabs" id="tab2">
          <label for="tab2">Spielplan</label>
          <div id="tab-content2" class="tab-content animated fadeIn">
			<div class="cont">';
			include("spielplan.php"); 
			echo '</div></div>
        </li>
        <li>
          <input type="radio" name="tabs" id="tab3">
          <label for="tab3">Zusatz-Spiele</label>
          <div id="tab-content3" class="tab-content animated fadeIn">
			<div class="cont">';
			include("zusatz.php"); 
            echo '</div></div>
        </li>
		  <li>
          <input type="radio" name="tabs" id="tab4">
          <label for="tab4">Ranking</label>
          <div id="tab-content4" class="tab-content animated fadeIn">
			<div class="cont">';
			include("ranking.php"); 
            echo '</div></div>
        </li>
				  <li>
          <input type="radio" name="tabs" id="tab5">
          <label for="tab5">Teams</label>
          <div id="tab-content5" class="tab-content animated fadeIn">
			<div class="cont">';
			include("teams.php"); 
            echo '</div></div>
        </li>
</ul>';


/*include($t.".php"); */
echo '</body></html>';
?>